<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<!-- 引入框架css -->
		<link rel="stylesheet" href="layui/css/layui.css">
		<!-- 引入框架js -->
		<script src="layui/layui.js"></script>
		<!-- 引入home页面的js -->
		<script src="js/home.js" type="text/javascript" charset="utf-8"></script>
		<!-- 引入home页面的css -->
		<link rel="stylesheet" type="text/css" href="css/home.css" />
		<title></title>
	</head>
	<!-- //模板 -->
	<script id="homemb" type="text/html">
		<!-- 面板显示部分 -->
	<div class="layui-row layui-col-space15">
		<div class="layui-col-md3">
			<div class="layui-panel">
				<div class="tp1">
					<p>
						<i class="layui-icon layui-icon-group"></i>
					</p>
				</div>
				<div class="co">
					<h1 id="scyh">{{d.AmountUsers}}</h1>
					<p>商城用户</p>
				</div>
			</div>
		</div>
		<div class="layui-col-md3">
			<div class="layui-panel">
				<div class="tp2">
					<p>
						<i class="layui-icon layui-icon-note"></i>
					</p>
				</div>
				<div class="co">
					<h1 id="xsjl">{{d.SalesRecord}}</h1>
					<p>销售记录</p>
				</div>
			</div>
		</div>
		<div class="layui-col-md3">
			<div class="layui-panel">
				<div class="tp3">
					<p>
						<i class="layui-icon layui-icon-cart"></i>
					</p>
				</div>
				<div class="co">
					<h1 id="scdd">{{d.MallOrder}}</h1>
					<p>商城订单</p>
				</div>
			</div>
		</div>
		<div class="layui-col-md3">
			<div class="layui-panel">
				<div class="tp4">
					<p>
						<i class="layui-icon layui-icon-rmb"></i>
					</p>
				</div>
				<div class="co">
					<h1 id="ljsr">{{d.AccumulativeIncome}}</h1>
					<p>累积收入</p>
				</div>
			</div>
		</div>
	</div>
	<!-- 表格部分 -->
	<div class="tables">
		<!-- 订单统计信息 -->
		<table class="layui-table">
			<colgroup>
				<col width="100">
				<col width="100">
				<col>
			</colgroup>
			<thead>
				<tr>
					<th colspan="2">订单统计信息</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>未处理订单：</td>
					<td>{{d.Untreated}}</td>
				</tr>
				<tr>
					<td>待发货订单：</td>
					<td>{{d.WaitDelivery}}</td>
				</tr>
				<tr>
					<td>已成交订单数：</td>
					<td>{{d.TransactionOrder}}</td>
				</tr>
				<tr>
					<td>已配送订单：</td>
					<td>{{d.Delivered}}</td>
				</tr>
			</tbody>
		</table>
		<!-- 商品统计信息 -->
		<table class="layui-table">
			<colgroup>
				<col width="100">
				<col width="100">
				<col>
			</colgroup>
			<thead>
				<tr>
					<th colspan="2">商品统计信息</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>商品总数：</td>
					<td>{{d.AmountGoods}}</td>
				</tr>
				<tr>
					<td>上架商品：</td>
					<td>{{d.ProductsShelves}}</td>
				</tr>
				<tr>
					<td>下架商品：</td>
					<td>{{d.UnlistedGoods}}</td>
				</tr>
				<tr>
					<td>商品评论：</td>
					<td>暂时未开启</td>
				</tr>
			</tbody>
		</table>
		<!-- 个人信息 -->
		<table class="layui-table">
			<colgroup>
				<col width="100">
				<col width="100">
				<col>
			</colgroup>
			<thead>
				<tr>
					<th colspan="2">管理员个人信息</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>姓名：</td>
					<td>{{d.name}}</td>
				</tr>
				<tr>
					<td>邮箱：</td>
					<td>{{d.email}}</td>
				</tr>
				<tr>
					<td>性别：</td>
					<td>{{d.sex}}</td>
				</tr>
				<tr>
					<td>总登录次数：</td>
					<td>{{d.logincount}}</td>
				</tr>
			</tbody>
		</table>
	</div>
	</div>
	</script>
	<!-- //模板 -->
	<body>
		<!-- 首页 -->
		<div class="background">
			<!-- 提示部分 -->
			<blockquote class="layui-elem-quote layui-text">
				<ul>
					<li>
						<i class="layui-icon layui-icon-face-smile">&nbsp;</i>欢迎使用商城管理系统
					</li>
					<li>
						<i class="layui-icon layui-icon-heart">&nbsp;</i>亲爱的管理员加油干，年底买跑车！
					</li>
					<li>
						<i class="layui-icon layui-icon-log">&nbsp;</i>当前北京时间：<span id="time"></span>
					</li>
				</ul>
			</blockquote>
			<div id="homemoban"></div>
	</body>
</html>
